home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
doors_2
/
whodoor1.zip
/
WHO_DOOR.DOC
< prev
next >
Wrap
Text File
|
1992-10-07
|
12KB
|
264 lines
┌────╖ ┌────╖ ┌──────────╖
╘╕ ╔╝ ╘╕ ╔╝ ╘╕ ╔═══╕ ║
│ ║ ┌──╖ │ ║ ┌─╖ ┌─╖ ┌─────╖ │ ║ │ ║ ┌─────╖ ┌─────╖ ┌──────╖
│ ║ │ ║ │ ║ │ ║ │ ║ │ ╔═╕ ║ │ ║ │ ║ │ ╔═╕ ║ │ ╔═╕ ║ │ ╔══╕ ║
│ ║ │ ║ │ ║ │ ╙─┘ ║ │ ║ │ ║ │ ║ │ ║ │ ║ │ ║ │ ║ │ ║ │ ╙──┘ ║
│ ║ │ ║ │ ║ │ ╔═╕ ║ │ ║ │ ║ │ ║ │ ║ │ ║ │ ║ │ ║ │ ║ │ ╔═╕ ╔╝
│ ╙─┘ ╙─┘ ║ │ ║ │ ║ │ ╙─┘ ║ ┌┘ ╙───┘ ║ │ ╙─┘ ║ │ ╙─┘ ║ │ ║ │ ╙╖
╘════════════╝ ╘═╝ ╘═╝ ╘═════╝ ╘══════════╝ ╘═════╝ ╘═════╝ ╘═╝ ╘══╝
╔╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╗
╚╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╝
(C) 1992 - Ron Bergeron
┌─────────────┐
│ What is it? │
└─────────────┘
Who Door is a set of utilities for your QuickBBS or Remote Access BBS.
This set includes:
LOGGER.EXE - a program that creates and maintains separate upload and
download log files of all files transferred on your BBS. LOGGER will
also "touch" the filedates of your ZModem uploads. "Touch" means to set
the file date to the current system date. QuickBBS does NOT do this
normally.
WHO_DOOR.EXE - a door that allows your users to search the log files.
LIMIT.EXE - a program that limits the size of the log files (or ANY
other ASCII text files) to a sysop-definable number of lines.
┌─────────────┐
│ Why use it? │
└─────────────┘
I wrote LOGGER because I wanted to maintain a record of all file
transfers. This allows me to keep track of where all the files come
from and where they all go. If I find a file that has a virus in it, I
can quickly and easily find out where it came from and whether or not
anyone has downloaded it. Plus, I just like to keep track of these
things.
I wrote WHO_DOOR because I had several users that wanted to know if they
could get a list of the files they had already downloaded.
I wrote LIMIT because I wanted to be able to limit the size of the log
files that LOGGER creates.
┌─────────────────────┐
│ How do I set it up? │
└─────────────────────┘
LOGGER
First, you must edit the file WHO_DOOR.CFG to meet your needs. This
file is a configuration file and is used by both LOGGER and WHO_DOOR.
The first line of the file is the name of the download log file. The
second line of the file is the name of the upload log file. These must
be valid DOS filenames, and may include the path to the file if you want
to keep the log in a different directory. Only the first two lines of
this file are read by the programs. Any lines that appear after the
first two lines are treated as comments and are ignored. A sample
WHO_DOOR.CFG is included in the package.
LOGGER.EXE *MUST* be run after every user logs off your BBS. Edit your
BBS batch file to make this happen. It must be run from the same
directory as your SYSTEM.LOG or RA.LOG.
Once you have completed the first two steps, LOGGER will start
maintaining the file transfer logs. Since the logs won't contain much
information for a while, WHO_DOOR won't be very useful at first.
To enable the "touch" feature of LOGGER, use the word "touch" as a
command line parameter when you run LOGGER. In other words:
LOGGER TOUCH
Here is a sample of the info stored in the log files:
13-Aug-92 14400-Z d:\qbbs\qnew\WHO_DOOR.ZIP - Ron Bergeron
| | | | |
| | | | user name
| | | |
| | | +---------- file path & name
| | |
| | +--------------------- protocol Z = ZModem
| | X = Xmodem
| | S = Sealink
| | Y = Ymodem
| | G = Ymodem-G
| | 1 = Xmodem-1K
| |
| +--------------------------------- baud rate
|
+--------------------------------------- date of transfer
WHO_DOOR
When WHO_DOOR is run, it will ask the user whether they want to search
the upload or the download log. Then, it will ask them to enter a text
string to search for in the log file. They can enter a name, a file
name, or a partial name or filename.
WHO_DOOR will then search the log and display information that contains
the text that they are searching for.
WHO_DOOR.EXE can be set up as either a type 7 or type 15 door. It
requires access to your DORINFO1.DEF. Refer to your BBS software
documentation for information on how to set up type 7 or 15 menu items.
WHO_DOOR checks the current directory for the presence of the file
IGNORE.CFG. This file is a configuration file that contains a list of
up to 50 directories that you do not want WHO_DOOR to display information
about. This can be handy if you have "Adult" areas of your BBS and don't
want anyone to be able to see who is active in these areas. If you
do not have a IGNORE.CFG file, WHO_DOOR will display ALL available
information to your users.
When WHO_DOOR is searching the log file and finds the information that
the user is searching for, it first checks the IGNORE.CFG file. If the
directory that the search text appears in is also in the IGNORE.CFG, it
will NOT display the information to the user UNLESS the user was the
person who transferred the file.
For example, if your IGNORE.CFG contains the line:
┌────────────────────┐
│ d:\files\xxx_txt │
└────────────────────┘
and your download log file contains the lines:
┌─────────────────────────────────────────────────────────────┐
│ 13-Aug-92 2400-Z d:\files\xxx_txt\ADULT.ZIP - John Doe │
│ 13-Aug-92 14400-Z d:\files\xxx_txt\ADULT.ZIP - Ron Bergeron │
└─────────────────────────────────────────────────────────────┘
and I enter this door and search for "ADULT", this is what would happen:
WHO_DOOR would open the download log file and start looking for the text
"ADULT". When it found the text in the first line, it would then check
the IGNORE.CFG and see that this directory is to be ignored. It would
then check to see if I were the one who transferred the file. Since I
was not, WHO_DOOR would NOT display the info.
When WHO_DOOR found the text in the next line, the same thing would
happen, only this time, it would see that I was the one who transferred
the file and so it WOULD display the information to me.
This way, the privacy of your users is protected, but they can still get
a complete listing of the files that they have transferred.
LIMIT
LIMIT will limit the number of lines in ANY standard ASCII text file to
the number specified on the command line.
This is how it is used:
┌────────────────────────────────────────────────────────────────────┐
│ Usage: LIMIT <filename> <number of lines> │
│ │
│ "Filename" is the name of the file that you want to trim down. │
│ │
│ "Number of lines" is the number of lines that you want the file │
│ to have after it is trimmed. The excess lines are removed from │
│ BEGINNING of the file. │
└────────────────────────────────────────────────────────────────────┘
If you have many file transfers on your BBS, you may want to use
LIMIT in your nightly event to keep the your upload and download
log files limited to a reasonable size.
┌──────────────┐
│ Registration │
└──────────────┘
These programs are NOT freeware! If you use them on your BBS for more than
three weeks, you are required to register them. Run the program REGISTER.EXE
if you decide to register. When you register, your BBS name will appear
in place of the bright yellow [UNREGISTERED] displayed in the door. This
will show your callers that YOU support shareware! Also, the 6 second
delay that occurs when LOGGER runs will disappear.
┌───────────┐
│ Copyright │
└───────────┘
WHO_DOOR, LOGGER, and LIMIT, Copyright 1992 by Ron Bergeron, are being
distributed as Shareware. Under this concept you may use the SHAREWARE
(unregistered) versions for a reasonable period of time (3 weeks) for
evaluation after which you must either register your copies or remove
them from use on your BBS.
┌──────────┐
│ Warranty │
└──────────┘
This product is provided AS-IS without warranty of any kind. The entire
risk as to the results and performance of the programs is assumed by you.
Futhermore, the author does not warrant, guarantee, or make any other
representations regarding the use of, or the results of the use of the
program, and you rely on the program and results solely at your own
risk. The author cannot and will not accept responsibility for system
damage, loss of profit or any other special, consequential or incidental
damages resulting from the use of or inability to use this product.
┌────────────┐
│ Trademarks │
└────────────┘
QuickBBS is a trademark of Pegasus Software. RemoteAccess is a
trademark of Continental Software.
┌───────────┐
│ Questions │
└───────────┘
I can be reached for questions or comments on my BBS.
The Machine
(508)948-2921
FidoNet 1:324/124
┌────────────────┐
│ Other programs │
└────────────────┘
Other programs written by Ron Bergeron:
REPEAT31.ZIP 39,372 bytes The Repeat Door. This is the door version of
the popular kid's game "Simon". Test your short
term memory. Maintains top ten list.
Colorful and interesting. Works with
QuickBBS, Remote Access, Spitfire, and
PCBoard.
LOTTO30.ZIP 36,759 bytes Simple, colorful, and different ANSI
gambling-for-time door. Works with
QuickBBS and Remote Access.
VCHECK10.ZIP 36,246 bytes The Virus Check Door. This door allows your
users to test .ZIP and .ARJ files for both arc
integrity and viruses (using McAfee's
SCAN.EXE). Give your users that extra
level of security - let them test for
themselves before downloading. Maintains
log file, if desired. Works with QuickBBS
and Remote Access.
COMMENT!.ZIP 13,793 bytes .ZIP file comment program. Insert/replace
comments in your .ZIP files. Will maintain
original .ZIP file date. Fast, efficient,
and RELIABLE.